package com.zhangtai.modules.dto;

import com.zhangtai.utils.Excel.ExcelAnnotation;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class InsuranceChangeDto {
    @ApiModelProperty("姓名")
    @ExcelAnnotation(rowName = "序号")
    private String name;
    @ApiModelProperty("工号")
    @ExcelAnnotation(rowName = "工号")
    private String code;
    @ApiModelProperty("性别")
    private Integer gender;
    @ExcelAnnotation(rowName = "性别")
    private String genderName;
    @ApiModelProperty("身份证号")
    @ExcelAnnotation(rowName = "身份证号")
    private String idcard;
    @ApiModelProperty("用工类型 0：全日制用工，1：非全日制用工，2：劳务派遣用工 ，3：退休返聘，4：管培生，5：实习生")
    @ExcelAnnotation(rowName = "用工类型")
    private String jobType;
    @ApiModelProperty("员工状态，0：未入职，2：正式，3：离职，4：退休，5：内退，6：离休，7：待岗，9：实习，10：实习结束，11：调动中")
    @ExcelAnnotation(rowName = "员工状态")
    private String employeestatus;

    private Long jobLevelId;
    @ApiModelProperty("职级")
    @ExcelAnnotation(rowName = "职级")
    private String jobLevel;
    @ApiModelProperty("入职日期")
    private Date hiredate;
    @ApiModelProperty("公司名称")
    @ExcelAnnotation(rowName = "公司名称")
    private String orgName;
    private Long orgId;
    @ApiModelProperty("部门名称")
    @ExcelAnnotation(rowName = "部门名称")
    private String unitName;
    private Long unitId;
    @ApiModelProperty("岗位名称")
    @ExcelAnnotation(rowName = "岗位名称")
    private String jobName;
    private Long jobId;
    @ApiModelProperty("生效状态 1生效 2失效")
    private Integer status;
    @ExcelAnnotation(rowName = "生效状态")
    private String statusName;
    @ApiModelProperty("承保单位")
    @ExcelAnnotation(rowName = "承保单位")
    private String companyName;
    @ApiModelProperty("操作人工号")
    @ExcelAnnotation(rowName = "操作人工号")
    private String operaterCode;
    @ApiModelProperty("操作人姓名")
    @ExcelAnnotation(rowName = "操作人姓名")
    private String operateName;
    @ApiModelProperty("操作时间")
    private Date operationTime;
    @ApiModelProperty("操作类型 0:增员 1：减员  ")
    private Integer type;
    @ApiModelProperty("是否参与社保 0未参与 1已参与  ")
    private Integer securityType;
    @ExcelAnnotation(rowName = "操作类型")
    private String typeName;

    @ExcelAnnotation(rowName = "入职日期")
    private String hiredateStr;
    @ExcelAnnotation(rowName = "操作时间")
    private String operateTimeStr;
}
